home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2007 December / PCWKCD1207B.iso / Blogowanie poza sfera / Flock 0.9.1.3 stable / flock-0.9.1.3.en-US.win32.exe / flock / chrome / browser.jar / content / browser / setDesktopBackground.xul < prev    next >
Extensible Markup Language  |  2006-02-28  |  2KB  |  63 lines

  1. <?xml version="1.0"?> <!-- -*- Mode: HTML -*- --> 
  2.  
  3.  
  4. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 
  5. <?xml-stylesheet href="chrome://browser/content/browser.css" type="text/css"?>
  6.  
  7. <!DOCTYPE dialog SYSTEM "chrome://browser/locale/setDesktopBackground.dtd">
  8.  
  9.  
  10. <dialog xmlns:html="http://www.w3.org/1999/xhtml"
  11.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  12.         id="aboutDialog"
  13.         windowtype="Shell:SetDesktopBackground"
  14.         buttons="accept,cancel"
  15.         buttonlabelaccept="&setDesktopBackground.title;"
  16.         onload="gSetBackground.load();"
  17.         ondialogaccept="gSetBackground.setDesktopBackground();"
  18.         title="&setDesktopBackground.title;"
  19.         style="width: 30em;"> 
  20.     
  21.     <stringbundle id="backgroundBundle"
  22.                   src="chrome://browser/locale/shellservice.properties"/>
  23.     <script type="application/x-javascript"
  24.             src="chrome://browser/content/utilityOverlay.js"/>
  25.     <script type="application/x-javascript"
  26.             src="chrome://browser/content/setDesktopBackground.js"/>
  27.     <script type="application/x-javascript"
  28.             src="chrome://global/content/contentAreaUtils.js"/>
  29.  
  30.     <hbox align="center" id="foo">
  31.       <label value="&position.label;"/>
  32.       <menulist id="menuPosition"
  33.                 label="&position.label;" 
  34.                 oncommand="gSetBackground.updatePosition(parseInt(this.value));">
  35.         <menupopup>
  36.           <menuitem label="¢er.label;"  value="3"/>
  37.           <menuitem label="&tile.label;"    value="1"/>
  38.           <menuitem label="&stretch.label;" value="2"/>
  39.         </menupopup>
  40.       </menulist>
  41.       <spacer flex="1"/>
  42.       <label value="&color.label;"/>
  43.       <colorpicker id="desktopColor"
  44.                    type="button" 
  45.                    onchange="gSetBackground.updateColor(this.color);"/> 
  46.     </hbox>
  47.     <groupbox align="center">
  48.       <caption label="&preview.label;"/>
  49.       <stack>
  50.         <vbox id="monitor" align="center" pack="center"
  51.               style="width: 153px !important; height: 114px !important; overflow: hidden;"
  52.               left="13" top="18"/>
  53.         
  54.         <!-- XXXben - this needs to be skinable - on MacOSX we want to draw a
  55.              bucket, not a monitor -->
  56.         <image src="chrome://browser/content/monitor.png"/>
  57.       </stack>
  58.     </groupbox>
  59.     
  60.  
  61.  
  62. </dialog>
  63.